package com.moyun.finance.repository;

import com.moyun.finance.entity.ReimbursementDetailed;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;


public interface ReimbursementDetailedRepository extends JpaRepository<ReimbursementDetailed,String>, JpaSpecificationExecutor<ReimbursementDetailed> {
    List<ReimbursementDetailed> findByReimbursementIdOrderByDate(String reimbursementId);
    List<ReimbursementDetailed> findByCompanyIdOrderByReimbursementDate(String companyId);
}
